<template>
  <el-header>
    <el-button @click="out">退出</el-button>
  </el-header>
</template>

<script lang="ts" setup>
import { ref, reactive } from "vue";
import { localhost } from "@/api/storage";

const out = () => {
  localhost.remove("token");
  window.location.reload();
};
</script>

<style lang="scss" scoped></style>
